package com.jia.videos.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author dujiajia
 * @since 2020-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="VideoShow对象", description="")
public class VideoShow implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "视频id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "视频名称")
    private String name;

    @ApiModelProperty(value = "视频图片")
    private String image;

    @ApiModelProperty(value = "视频所属大分类")
    private Long categoryId;

    @ApiModelProperty(value = "视频排序")
    private Integer sort;

    @ApiModelProperty(value = "视频状态1显示0隐藏")
    private Integer status;

    @ApiModelProperty(value = "是否推荐1推荐0不推荐")
    private Integer recommend;

    @ApiModelProperty(value = "是否热门1热门0不热门")
    private Integer hot;

    @ApiModelProperty(value = "第几集或者是否完结")
    private String section;

    @ApiModelProperty(value = "视频描述")
    private String description;

    @ApiModelProperty(value = "评分")
    private Float score;

    @ApiModelProperty(value = "主演")
    private String actor;

    @ApiModelProperty(value = "所属国家")
    private String country;

    @ApiModelProperty(value = "是否免费1免费0收费")
    private Integer free;

    @ApiModelProperty(value = "上线时间")
    private String date;

    @ApiModelProperty(value = "视频类型")
    private String type;

    @ApiModelProperty(value = "是否轮播图1是0否")
    private Integer banner;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
